<!-- 添加 -->
<script id="tpl-add" type="text/template">
    <div class="am-padding-xs am-padding-top-sm">
       <div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">代理级别 </label>
            <div class="am-u-sm-9 am-u-end">
                <label class="am-radio-inline">
                    <input type="radio" name="data[agent_mode]" value="10" data-am-ucheck checked>
                    区县
                </label>
                <label class="am-radio-inline">
                    <input type="radio" name="data[agent_mode]" value="20" data-am-ucheck>
                    市级
                </label>
                <label class="am-radio-inline">
                    <input type="radio" name="data[agent_mode]" value="30" data-am-ucheck>
                    省级
                </label>
            </div>
        </div>
        <div class="am-form-group am-padding-top">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 联系人 </label>
            <div class="am-u-sm-9 am-u-end">
                <input type="text" class="tpl-form-input" name="data[details][id_card_name]"
                       placeholder="请输入联系人" required>
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 联系电话 </label>
            <div class="am-u-sm-9 am-u-end">
                <input type="text" class="tpl-form-input" name="data[details][mobile_phone]"
                       placeholder="请输入联系电话" required>
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 区域坐标 </label>
            <div class="am-u-sm-9 am-u-end">
                <div class="am-block">
                    <input type="text" style="background: none !important;" id="coordinate"
                           class="tpl-form-input" name="data[location]"
                           placeholder="请选择区域位置" readonly="" required>
                </div>
                <div class="am-block am-padding-top-xs">
                    <iframe id="map" src="/index/proxy/getpoint" width="550" height="470"></iframe>
                </div>
            </div>
        </div>
    </div>  
</script>
